# i = 0
# for i in range(5):
#    print(i)
# print(i)

money = 10000
for i in range(1,21):
    import random
    score = random.randint(1,10)

    if money >= 1000:
        if score < 5:
            print(f"员工{i}，绩效分{score}，低于5，不发工资，下一位。")
            continue
        else:
            money -= 1000
            print(f"员工{i}，满足条件发放工资1000元，账户余额{money}。")
    else:
        print("工资发完了，下个月领取吧。")
        break

